{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
<h1>{{ question.question_text }}</h1>

<ul>
{% for choice in question.choice_set.all %}
    <li>{{ choice.choice_text }} -- 当前票数：{{ choice.votes }}</li>
{% endfor %}
</ul>

<a href="{% url 'polls:detail' question.id %}">再投一次</a>
<a href="{% url 'polls:index' %}">返回首页</a>